<template>
    <div class="checkMsg">
        <div>
          <div class="checkMsg_title">会员编号/姓名/身份证</div>
          <el-input placeholder="请输入会员或配偶信息" clearable class="checkMsg_num">
          </el-input>
          <el-button type="primary" @click="search">查询</el-button>
        </div>
        <div class="page_word">DMS-1-1</div>
        <!-- <div>
          <div class="checkMsg_title">限量增员查询</div>
          <el-input placeholder="请输入业务人员身份证" clearable class="checkMsg_num">
          </el-input>
        </div>
        <div>
          <div class="checkMsg_title">智能模糊查询</div>
          <el-input placeholder="请输入业务人员身份证" clearable class="checkMsg_num">
          </el-input>
          
        </div> -->
    </div>
</template>
<script>
var qs = require('qs');
export default {
    data(){
        return{
            personNumber:"",
            personName:"",
            time:"",
            personMsg:{
                person1:{
                    data1:{
                        a1:"00000001",
                        a2:"李文涛",
                        a3:"6",
                        a4:"广东分公司",
                        a5:"正常",
                        a6:"2010-01-25",
                        a7:"00001145",
                        a8:"李伟",
                        a9:"2017-10-2",
                        a10:"00001254",
                        a11:"陈辉",
                        a12:"2020-01-01",
                    },
                    data2:{
                        a1:"李文涛",
                        a2:"男",
                        a3:"汉",
                        a4:"大专",
                        a5:"445221199607086211",
                        a6:"1996-07-08",
                        a7:"22",
                        a8:"经理",
                        a9:"15766756572",
                        a10:"13539833775",
                        a11:"1325632152@163.com",
                    },
                    data3:{
                        a1:"陈梅",
                        a2:"女",
                        a3:"汉",
                        a4:"本科",
                        a5:"445221199708125478",
                        a6:"1997-08-12",
                        a7:"24",
                        a8:"2015-5-20",
                        a9:"13587421452",
                        a10:"15863214522",
                        a11:"15863214522@163.com",
                    },
                    data4:{
                        a1:"李文涛",
                        a2:"天天日用品商店",
                        a3:"天天",
                        a4:"6",
                        a5:"15844121141",
                        a6:"147258",
                        a7:"13587421452@163.com",
                        a8:"正常",
                        a9:"广东省中山市石岐区",
                        a10:"广东省中山市石岐区",
                    }
                },
                person2:{
                    data1:{
                        a1:"00000002",
                        a2:"徐博",
                        a3:"8",
                        a4:"江西分公司",
                        a5:"正常",
                        a6:"2011-03-15",
                        a7:"00002145",
                        a8:"黄辉",
                        a9:"2018-2-12",
                        a10:"00007214",
                        a11:"陈林林",
                        a12:"2022-01-01",
                    },
                    data2:{
                        a1:"徐博",
                        a2:"男",
                        a3:"汉",
                        a4:"本科",
                        a5:"445221199201062219",
                        a6:"1992-01-06",
                        a7:"25",
                        a8:"职员",
                        a9:"15711245214",
                        a10:"15844214125",
                        a11:"15844214125@163.com",
                    },
                    data3:{
                        a1:"黄纯纯",
                        a2:"女",
                        a3:"汉",
                        a4:"高中",
                        a5:"445221199108015478",
                        a6:"1991-08-01",
                        a7:"30",
                        a8:"2014-5-20",
                        a9:"13421114955",
                        a10:"13855214214",
                        a11:"13421114955@163.com",
                    },
                    data4:{
                        a1:"徐博",
                        a2:"爱美丽商品店",
                        a3:"爱美丽",
                        a4:"8",
                        a5:"15211421021",
                        a6:"321456",
                        a7:"15211421021@163.com",
                        a8:"正常",
                        a9:"广东省风城市辉煌区",
                        a10:"广东省风城市辉煌区",
                    }
                },
                person3:{
                    data1:{
                        a1:"00000001",
                        a2:"陈华海",
                        a3:"4",
                        a4:"湖南分公司",
                        a5:"正常",
                        a6:"2008-04-05",
                        a7:"00004675",
                        a8:"郑晖达",
                        a9:"2018-1-2",
                        a10:"00007054",
                        a11:"叶挺",
                        a12:"2021-01-01",
                    },
                    data2:{
                        a1:"陈华海",
                        a2:"男",
                        a3:"汉",
                        a4:"研究生",
                        a5:"445221199704112219",
                        a6:"1997-04-11",
                        a7:"28",
                        a8:"主任",
                        a9:"15722114123",
                        a10:"13522001234",
                        a11:"13522001234@163.com",
                    },
                    data3:{
                        a1:"曽莉莉",
                        a2:"女",
                        a3:"汉",
                        a4:"大专",
                        a5:"445221199008285478",
                        a6:"1990-08-28",
                        a7:"27",
                        a8:"1990-08-28",
                        a9:"15788212345",
                        a10:"13844012441",
                        a11:"15788212345@163.com",
                    },
                    data4:{
                        a1:"陈华海",
                        a2:"黄黄商品店",
                        a3:"黄黄",
                        a4:"4",
                        a5:"13566321452",
                        a6:"1452142",
                        a7:"13566321452@163.com",
                        a8:"正常",
                        a9:"广东省长沙市东城区",
                        a9:"广东省长沙市东城区",
                    }
                },
            }
        }
    },
    methods:{
        search(){
            // if(this.personNumber == "00000001" || this.personName == "李文涛"){
            //     this.$router.push({path:"/index/memberMessage",query:{data:this.personMsg.person1,flag:false}})
            // }else if(this.personNumber == "00000002" || this.personName == "徐博"){
            //     this.$router.push({path:"/index/memberMessage",query:{data:this.personMsg.person2,flag:false}})
            // }else if(this.personNumber == "00000003" || this.personName == "陈华海"){
            //     this.$router.push({path:"/index/memberMessage",query:{data:this.personMsg.person3,flag:false}})
            // }else{
            //     this.$message({
            //         message: '请输入正确的姓名或用户编号',
            //         type: 'warning'
            //     });
            // }
            this.$router.push({path:"/index/memberMessage"})
            // this.axios.get("http://192.168.1.110:8082/api/dept/list").then((res)=>{
            //     console.log(res)
            // })
        }
    }
}
</script>
<style scoped>
.checkMsg_num{
    width:350px!important;
}
.checkMsg_title{
    width: 200px;
    font-size: 20px;
    padding: 10px 0;
    font-weight: bold;
}

</style>


